#include<bits/stdc++.h>
using namespace std;
int main()
{
	string lcr = "RLCR";
	int n;
	cin>>n;
	cout<<lcr[n%3];
	return 0;
}

